package com.frejoys.listener.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

// 用户二维码事件
@Getter
@Setter
public class UserQrCodeEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;

    private Long userId;

    private Integer site;

    public UserQrCodeEvent(Long userId, Integer site) {
        super(userId);
        this.userId = userId;
        this.site = site;
    }

}
